package com.teach;

import java.util.Arrays;

/**
 * <pre>
 * -
 * Author : J.L.Zhou
 * E-Mail : 2233875735@qq.com
 * Tel : 151 1104 7708
 * Date : 2021-04-13 15:08
 * Version : 1.0
 * Copyright 2021 jlzhou.top Inc. All rights reserved.
 * Warning: this content is only for internal circulation of the company.
 *          It is forbidden to divulge it or use it for other commercial purposes.
 * </pre>
 **/
public class SystemTest {
  public static void main(String[] args) {
//   System.exit(0);
    int[] a1 = {1,2,3,4,5,6};
    int[] a2 = new int[3];
    System.arraycopy(a1,2,a2,0,3);
    System.out.println(Arrays.toString(a2));
    long d = System.currentTimeMillis();
    System.out.println(d);
    System.gc();//通知垃圾回收
  }
}
